#pragma once
#include"Heap.h"

void test01()
{
	Heap hp;
	HeapInit(&hp);
	HeapPush(&hp, 88);
	HeapPush(&hp, 55);
	HeapPush(&hp, 25);
	HeapPush(&hp, 30);

	HeapPop(&hp);
	//HeapPop(&hp);
	printf("%d\n", HeapTop(&hp));
	printf("%d\n", HeapSize(&hp));
	HeapPrint(&hp);
}
void test02()
{
	int arr[6] = { 19,15,20,17,13,10 };
	HeapSort(arr, 6);
	for (int i = 0; i < 6; i++)
	{
		printf("%d ", arr[i]);
	}
}


int main()
{
	//test01();
	test02();
	return 0;
}